runtime.mcentral.spanclass (field)
6 uses
runtime (current package)
mcentral.go#L23: spanclass spanClass
mcentral.go#L49: c.spanclass = spc
mcentral.go#L83: spanBytes := uintptr(class_to_allocnpages[c.spanclass.sizeclass()]) * _PageSize
mcentral.go#L243: npages := uintptr(class_to_allocnpages[c.spanclass.sizeclass()])
mcentral.go#L244: size := uintptr(class_to_size[c.spanclass.sizeclass()])
mcentral.go#L246: s := mheap_.alloc(npages, c.spanclass)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |